f = open("C:\\Users\\77265\Desktop\\test.txt")

while True:
    text = f.readline()
    print(text)
    # print(type(text))
    if not text:
        break
f.close()